/*
 * Title:        CloudScheduler Toolkit
 * Description:  a Toolkit for Modeling and Simulation of Job Scheduling and Resource Provisioning in Cloud System
 * Licence:      GPL - http://www.gnu.org/copyleft/gpl.html
 * Author:       Fuhui Wu
 *
 * Copyright (c) 2013-2014, The National University of Defense Technology, China
 */

package org.nudt.jCloud.resourceScaler;

import org.nudt.jCloud.simulation.Framework;
import org.nudt.jCloud.simulation.RequestData;
import org.nudt.jCloud.simulation.ScaleData;

public abstract class ResourceScaler {
	private Framework frwk;
	

	public ResourceScaler(){
		setFrwk(null);
	}
	
	public abstract void specialReset();

	public void reset(){
		setFrwk(null);
		specialReset();
	}
		
	public abstract void scaleResource(RequestData requestData, ScaleData scaleData);
	
	public Framework getFrwk() {
		return frwk;
	}

	public void setFrwk(Framework frwk) {
		this.frwk = frwk;
	}

}
